DX11 SET SPRITE POSITION

Sets the screen position of the specified sprite.
It is valid to position the sprite outside of the screen, or semi-outside, in which case the part that lies within the screen will be drawn.

  Syntax
DX11 SET SPRITE POSITION sprite, x, y, [useCenter]
  Parameters
sprite
Dword
The sprite to set the position of.
x
Integer
The X coordinate to set.
y
Integer
The Y coordinate to set.
[Optional] useCenter
Boolean
If set to true, the sprite will have its center positioned at the supplied coordinates. If set to false (default), the coordinate is of the upper left corner.

  Returns

This function does not return a value.

  See also

SPRITE Functions Menu
DX11 Function Categories